Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Karan Questionnaire bug fixes and code refinement #36

Merged
merged 9 commits into from
Mar 1, 2024

Conversation

karansoin
Copy link
Contributor

Questionnaire Bug Fixes

♻️ Current situation & Problem

There were different approaches to fix issues, and commented out code in the existing version, and a SpeziScheduler Issue. This PR focuses on fixing the following issue: StanfordSpezi/SpeziScheduler#36

⚙️ Release Notes

Bug Fixes:

  • No more app crashing during questionnaire completion, all questionnaires consistently showing up, multiple questionnaires can be easily completed without any issues
  • Pulling latest SpeziScheduler versions with bugs fixed there as well

Cleaning and Optimizing Code

  • Cleaning all commented out code and refining/optimizing code (removed different previous bug fixing approaches) in some areas
    Results:
Screenshot 2024-02-27 at 4 57 44 PM Screenshot 2024-02-27 at 4 58 08 PM

📚 Documentation

Please ensure that you properly document any additions in conformance to Spezi Documentation Guide.

✅ Testing

No additional testing here, unit testing testing occurs in the PR in the SpeziScheduler repository, and it passes

📝 Code of Conduct & Contributing Guidelines

By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 42.39%. Comparing base (fc83fb4) to head (7f51fd9).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
+ Coverage   42.25%   42.39%   +0.15%     
==========================================
  Files          45       45              
  Lines        2076     2069       -7     
==========================================
  Hits          877      877              
+ Misses       1199     1192       -7     
Files Coverage Δ
PICS/Schedule/EventContext.swift 0.00% <ø> (ø)
PICS/Schedule/PICSScheduler.swift 80.77% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc83fb4...7f51fd9. Read the comment docs.

Copy link
Member

@PSchmiedmayer PSchmiedmayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix; great to see this move into into the PICS app 🚀

PICSUITests/HealthVisualizationTests.swift Outdated Show resolved Hide resolved
@karansoin karansoin merged commit 8537f47 into main Mar 1, 2024
7 checks passed
@karansoin karansoin deleted the karan-questionnaire_changes_new branch March 1, 2024 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants